package com.blb.eduuserservice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.blb.common.entity.Student;
import com.blb.eduuserservice.mapper.StudentMapper;
import com.blb.eduuserservice.service.StudentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {

    @Resource
    private StudentMapper studentMapper;

    @Override
    public void register(Student student) {
        studentMapper.insert(student);
    }
}
